<?php
!defined('M_P') && exit('Forbidden');
define('F_M',true);
//extract(L::style(null, 'wind'));
include_once (M_P.'require/core.php');
InitGP(array('area'));
$ifCommentManager = HouseCommentManager();
switch ($SCR) {
	case 'index' :
		$cateid = 'index';
		$db_tplstyle= $house_indextpl ? $house_indextpl : 'default';
		$csspath	= $house_indexcss ? $house_indextpl : 'default';
		$db_tplpath = $db_mode.'_'.$db_tplstyle.'_';
		break;
	default :
}

list($_Navbar,$_LoginInfo) = pwNavBar();

InitGP(array('housetype'));
if($housetype == 'sale'){
	$_viewer = new stdClass();
	$_viewer->current['sale'] = 'class="current"';
}else{
	$_viewer = new stdClass();
	$_viewer->current['new'] = 'class="current"';
}
require_once(M_P.'require/field.php');
$jobnum = ($winddb['jobnum']>0) ? "(".$winddb['jobnum'].")" : "";
/* SEO settings */
empty($_seopage) && $_seopage = 'index';
houseSeoSettings($_seopage,$_defaultSeo,$_seoname);
/* end */

require_once PrintEot('header');
unset($_Navbar,$pwModeCss);
?>